<template>
  <my-coupon-page ref="sysComp"></my-coupon-page>
</template>

<script>
  import MyCouponPage from 'views/couponPage/myCouponPage';

  import HistoryUtil from 'utils/historyUtil';

  export default {
    data() {
      return {};
    },

    created() {
      wx.hideShareMenu();

      window.addEventListener('wxshow', () => {
        HistoryUtil.clear();
      });
    },

    components: {
      MyCouponPage
    }
  };

</script>
